}

Now, the ABI related to this code can be found after compiling it, as

shown in the following example:

[

{

“anonymous”: false,

“inputs”: [

{

“indexed”: false,

“internalType”: “address”,

“name”: “fromAddress”,

“type”: “address”

},

{

“indexed”: false,

“internalType”: “uint256”,

“name”: “number”,

“type”: “uint256”

}

],

“name”: “NewPositiveFound”,

“type”: “event”

},

{

“inputs”: [],

“name”: “testForCovidPositive”,

“outputs”: [],

“stateMutability”: “payable”,

“type”: “function”

}

]

Here,

we

can

find

the

interface

details

of

an

event

NewPositiveFound and secondly the interface details of a function

named testForCovidPositive. In case of an Event, we can find the